From 4139f499d982cbd5036424ddb338e6ff7fa57e94 Mon Sep 17 00:00:00 2001 From: robertlipe Date: Tue, 18 Feb 2014 06:02:32 +0000 Subject: [PATCH] Don't write "Generator" meta tags in html output when running test suite. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4755 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/html.cc | 5 +++++ gpsbabel/reference/gc/GCGCA8~html.txt | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gpsbabel/html.cc b/gpsbabel/html.cc index d641af15f..185329b58 100644 --- a/gpsbabel/html.cc +++ b/gpsbabel/html.cc @@ -268,7 +268,12 @@ data_write(void) gbfprintf(file_out, "\n"); gbfprintf(file_out, "\n"); gbfprintf(file_out, " \n"); + + // Don't write this line when running test suite. Actually, we should + // probably not write this line at all... + if (!getenv("GPSBABEL_FREEZE_TIME")) { gbfprintf(file_out, " \n", gpsbabel_version); + } gbfprintf(file_out, " GPSBabel HTML Output\n"); if (stylesheet) { gbfprintf(file_out, " \n", stylesheet); diff --git a/gpsbabel/reference/gc/GCGCA8~html.txt b/gpsbabel/reference/gc/GCGCA8~html.txt index ef70a7c11..50b79a2c0 100644 --- a/gpsbabel/reference/gc/GCGCA8~html.txt +++ b/gpsbabel/reference/gc/GCGCA8~html.txt @@ -2,7 +2,6 @@ - GPSBabel HTML Output